discordjs 13 TypeError Valid intents must be provided for the Client.
126
discordjs 13 TypeError Valid intents must be provided for the Client. -
const { Client, Intents } = require('discord.js');
const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });
//Change node version to 16.6 if you have AbortController error